package com.example.tools.page;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.List;

/**
 * @author czx
 * @ClassName: PageInfo
 * @Description: 分页信息
 * @date 2022/2/9
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public abstract class PageInfo<T> implements Info {

    private static final long serialVersionUID = 1L;

    /**
     * list当前页数据
     */
    private List<T> recordList;

    /**
     * count当前页数据大小
     */
    private Integer recordCount;
}
